package com.example.beerhunterapp;

import java.util.ArrayList;

public class InfoProtoypeSingleton {

	static InfoProtoypeSingleton instance;
	private int numberOfBeer;
	private String beerToSee;
	private String challengeToSee;
	private ArrayList<String> commentTitleDuvel;
	private ArrayList<String> commentTextDuvel;
	private ArrayList<String> commentTitleHeineken;
	private ArrayList<String> commentTextHeineken;
	private ArrayList<String> commentTitleHoegaarden;
	private ArrayList<String> commentTextHoegaarden;
	private String origine;
	private boolean parmisBue;
	
	private InfoProtoypeSingleton(){
		numberOfBeer = 2;
		beerToSee="";
		origine = "all";
		parmisBue=false;
		commentTitleDuvel=new ArrayList<String>();
		commentTextDuvel=new ArrayList<String>();
		commentTitleHeineken=new ArrayList<String>();
		commentTextHeineken=new ArrayList<String>();
		commentTitleHoegaarden=new ArrayList<String>();
		commentTextHoegaarden=new ArrayList<String>();
	}
	
	public static InfoProtoypeSingleton getInstance(){
		if(instance==null){
			instance=new InfoProtoypeSingleton();
		}
		return instance;
	}

	public int getNumberOfBeer() {
		return numberOfBeer;
	}

	public void setNumberOfBeer(int numberOfBeer) {
		this.numberOfBeer = numberOfBeer;
	}

	public String getBeerToSee() {
		return beerToSee;
	}

	public void setBeerToSee(String beerToSee) {
		this.beerToSee = beerToSee;
	}


	public void setCommentTitleDuvel(String title) {
		commentTitleDuvel.add(title);
	}

	public void setCommentTextDuvel(String text) {
		commentTextDuvel.add(text);
	}
	
	public void setCommentTitleHeineken(String title) {
		commentTitleHeineken.add(title);
	}

	public void setCommentTextHeineken(String text) {
		commentTextHeineken.add(text);
	}
	
	public void setCommentTitleHoegaarden(String title) {
		commentTitleHoegaarden.add(title);
	}

	public void setCommentTextHoegaarden(String text) {
		commentTextHoegaarden.add(text);
	}

	public ArrayList<String> getCommentTitleDuvel() {
		return commentTitleDuvel;
	}

	public ArrayList<String> getCommentTextDuvel() {
		return commentTextDuvel;
	}

	public ArrayList<String> getCommentTitleHeineken() {
		return commentTitleHeineken;
	}

	public ArrayList<String> getCommentTextHeineken() {
		return commentTextHeineken;
	}

	public ArrayList<String> getCommentTitleHoegaarden() {
		return commentTitleHoegaarden;
	}

	public ArrayList<String> getCommentTextHoegaarden() {
		return commentTextHoegaarden;
	}

	public String getOrigine() {
		return origine;
	}

	public void setOrigine(String origine) {
		this.origine = origine;
	}

	public boolean isParmisBue() {
		return parmisBue;
	}

	public void setParmisBue(boolean parmisBue) {
		this.parmisBue = parmisBue;
	}

	public String getChallengeToSee() {
		return challengeToSee;
	}

	public void setChallengeToSee(String challengeToSee) {
		this.challengeToSee = challengeToSee;
	}
	
}
